/* -----------------------------------------------------------------------------
 * PROJECT    : net.lwf
 * FILE       : AnswerData.java
 *
 * HISTORY:
 * Date          Author                        Description
 * ----------------------------------------------------------------------------- 
 * Feb 11, 2009  Raghu Sarraff	 		        Created
 */
package lwf.handler.entities.math;


public class AnswerData {
	
	private String answerbox;
	private String useranswer;
	private String remainder;
	private String quotient;
	private String operation;
	private Object answer;
	
	
	
	/**
	 * @return Returns the quotient.
	 */
	public String getQuotient() {
		return quotient;
	}
	/**
	 * @param quotient The quotient to set.
	 */
	public void setQuotient(String quotient) {
		this.quotient = quotient;
	}
	/**
	 * @return Returns the remainder.
	 */
	public String getRemainder() {
		return remainder;
	}
	/**
	 * @param remainder The remainder to set.
	 */
	public void setRemainder(String remainder) {
		this.remainder = remainder;
	}
	/**
	 * @return Returns the answer.
	 */
	public Object getAnswer() {
		return answer;
	}
	/**
	 * @param answer The answer to set.
	 */
	public void setAnswer(Object answer) {
		this.answer = answer;
	}
	/**
	 * @return Returns the answerbox.
	 */
	public String getAnswerbox() {
		return answerbox;
	}
	/**
	 * @param answerbox The answerbox to set.
	 */
	public void setAnswerbox(String answerbox) {
		this.answerbox = answerbox;
	}
	/**
	 * @return Returns the useranswer.
	 */
	public String getUseranswer() {
		return useranswer;
	}
	/**
	 * @param useranswer The useranswer to set.
	 */
	public void setUseranswer(String useranswer) {
		this.useranswer = useranswer;
	}
	
	
	/**
	 * @return Returns the operation.
	 */
	public String getOperation() {
		return operation;
	}
	/**
	 * @param operation The operation to set.
	 */
	public void setOperation(String operation) {
		this.operation = operation;
	}
	
	public void print() {
		System.out.println("========> Operation: " + this.operation + 
				           ", answerboxname: " + this.answerbox + 
						   ", User Answer: " + this.useranswer +
						   ", Actual answer: " + this.answer +
						   ", Quotient: " + this.quotient + 
						   ", Remainder: " + this.remainder);
	}
}

